package com.fulihui.wgj.admin.api.subscribereply.request;

import com.fulihui.common.request.web.CommonRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author: Levon
 * @date: 2018-07-26 13:59
 */
@Getter
@Setter
@ToString
@ApiModel("关注回复发送到手机预览请求")
public class SubscribeReplySendPreRequest extends CommonRequest {

    @ApiModelProperty("关注回复主键id")
    private Integer id;

    @ApiModelProperty("微信粉丝openid")
    @NotBlank(message = "粉丝openid不能为空")
    private String openId;

    @ApiModelProperty("消息类型 1：文本 2：图片 3:图文")
    private Integer msgType;

    @ApiModelProperty("如果没有主键id，传图片或者图文素材id")
    private String mediaid;

    @ApiModelProperty("文本消息：传内容")
    private String textContent;
}
